WeDevs\Dokan\REST\ReverseWithdrawalController S

Total Complexity 49
Dependencies 5
Dependents 0
Total lines 898
Lines of code 600
Logical lines of code 120
Comment lines 223
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
format_collection_response()
S
51 7 25
get_store_transactions()
S
50 6 26
get_public_schema_for_vendor_balance()
S
37 1 100
register_routes()
S
39 1 84
get_public_item_schema_for_single_store_transactions()
S
41 1 71
get_stores_balance()
S
53 4 22
get_vendor_due_status()
S
61 4 12
get_public_item_schema_for_store_balance()
S
46 1 46
get_store_transactions_route_params()
S
48 1 39
get_stores_balance_route_params()
S
48 1 37
prepare_vendor_due_status_for_response()
S
53 2 21
prepare_balance_for_response()
S
59 2 13
get_transaction_types()
S
61 2 13
prepare_links()
S
62 2 11
get_public_schema_for_stores()
S
55 1 22
get_public_item_schema_for_transaction_types()
S
55 1 22
get_store_transactions_permissions_check()
S
79 2 3
get_vendor_due_status_permissions_check()
S
79 2 3
add_to_cart()
S
68 2 7
get_stores()
S
67 2 8
get_stores_balance_permissions_check()
S
80 1 3
get_transaction_types_permissions_check()
S
81 1 3
get_stores_permissions_check()
S
80 1 3
prepare_transaction_for_response()
S
69 1 6